package com.bfsuol.yihang.customers.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("t_buz_customer")
public class CustomerEntity implements Serializable {

    private static final long serialVersionUID = -1L;


    @TableId(type=IdType.AUTO,value = "customer_id")
    private Long id;

    @TableField(value = "name")
    private String name;
    @TableField(value = "phone")
    private String phone;
    @TableField(value = "id_card")
    private String idCard;
    @TableField(value = "status")
    private Integer status;
    @TableField(value = "destination_car")
    private String destinationCar;
    @TableField(value = "remark")
    private String remark;
    @TableField(value = "create_userName")
    private String createUserName;
    @TableField(value = "update_userName")
    private String updateUserName;
    @TableField(value = "is_delete")
    private Integer isDelete;
    @TableField(value = "create_time")
    private Date createTime;
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private Long current;
    @TableField(exist = false)
    private Long size;

}
